if (FALSE) {
#Check whether a table with a given name exists
idaExistTable('IRIS')
#Create a pointer to the table
idf <- ida.data.frame('IRIS')
#Obtain a unique table name for a copy
copyTableName <- idaGetValidTableName(prefix = "COPY_")
#Create a copy of the original table
idfCopy <- as.ida.data.frame(as.data.frame(idf),copyTableName)
#Delete the copy again
idaDeleteTable(copyTableName)
}
Run the code above in your browser using DataLab